package com.pacific.sign.biz.service;

import com.pacific.common.request.CommonRequest;
import com.pacific.common.response.CommonResponse;
import com.pacific.sign.model.po.pac.mbg.PacHcRoleMenu;
import com.pacific.sign.model.po.pac.response.PacHcRoleMenuResponse;

/**
 * 菜单角色映射
 */
public interface HcRoleMenuService {

    public CommonResponse<PacHcRoleMenuResponse> query(CommonRequest<PacHcRoleMenu> request);

    /**
     * 新增
     */
    public CommonResponse<Integer> insert(CommonRequest<PacHcRoleMenu> request);

    /**
     * 更新
     */
    public CommonResponse<Integer> update(CommonRequest<PacHcRoleMenu> request);

    /**
     * 删除
     */
    public CommonResponse<Integer> delete(CommonRequest<PacHcRoleMenu> request);

    /**
     * id查询
     */
    public CommonResponse<PacHcRoleMenu> queryById(CommonRequest<Integer> request);
}
